﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MaterialManagement.Domain.ERP
{
    public class OutboundRecordModel
    {
        /// <summary>
        /// 出库主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Key]
        public int OutboundId { get; set; }
        /// <summary>
        /// 领料单名称
        /// </summary>
        public string PickFormName { get; set; }
        /// <summary>
        /// 领料单编号
        /// </summary>
        public string PickFormCode { get; set; }
        /// <summary>
        /// 领料日期
        /// </summary>
        public DateTime PickDate { get; set; }
        /// <summary>
        /// 领料人
        /// </summary>
        public string Picker { get; set; }
        /// <summary>
        /// 工单编号
        /// </summary>
        public string ProductionOrdersCode { get; set; }
        /// <summary>
        /// 任务编号
        /// </summary>
        public string DispatchCode { get; set; }
        /// <summary>
        /// 物料信息
        /// </summary>
        public int PickInfo { get; set; }
        /// <summary>
        /// 领料总数
        /// </summary>
        public int PickTotal { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool PickState { get; set; } = false;
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDel { get; set; } = false;
    }
}
